using System;
using System.Collections.Generic;
using System.Text;

namespace Calendar
{
    public class GlobalInfo
    {
        private  static  string _UserId = "";
        private static int  _UserRole = 0;
        private static eUserRole _eUserRole;

        public static bool  AlertFabsShownOnce =false ;
        public static bool AlertFamcShownOnce = false;
        public static bool AlertFbocShownOnce = false;

        public enum loginStatus
        {
            UserNotExist,
            InvalidPassword,
            SuccessfulLogin
        };

        public enum eUserRole
        {
            Admin=1,
            ProjectManager=2,
            TeamLead=3,
            Developer=4,
            Tester=5
        };

        public static eUserRole eUserRolle
        {
            get { return _eUserRole; }
            set { _eUserRole = value; }
        }

        public static  string UserId
        {
            get { return _UserId; }
            set { _UserId = value; }
        }

        public static int UserRole
        {
            get { return _UserRole; }
            set { _UserRole = value; }
        }

    }
}
